<?PHP
/*
 * First authored by Brian Cray
 * License: http://creativecommons.org/licenses/by/3.0/
 * Contact the author at http://briancray.com/
 */
if(!defined('URLFZ'))
	die('Hacking Attempt');

global $config;

// Display errors?
ini_set('display_errors', 0);

// db options
define('DB_NAME', '');
define('DB_USER', '');
define('DB_PASSWORD', '');
define('DB_HOST', '');
define('DB_TABLE', '');

// connect to database
define('SQL_CON', mysql_connect(DB_HOST, DB_USER, DB_PASSWORD));
mysql_select_db(DB_NAME, SQL_CON);

// base location of script (include trailing slash)
define('BASE_HREF', 'http://' . $_SERVER['HTTP_HOST'] . '/');

// change to TRUE to start tracking referrals
define('TRACK', TRUE);

// check if URL exists first
define('CHECK_URL', TRUE);

// change the shortened URL allowed characters
define('ALLOWED_CHARS', '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæÇèéðêëìíîïñòóôõöøùúûüÝþÿ+_');
// make ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæÇèéêëìíîïðñòóôõöøùúûüÝþÿ work

// do you want to cache?
define('CACHE', TRUE);

// if so, where will the cache files be stored? (include trailing slash)
define('CACHE_DIR', dirname(__FILE__) . '/cache/');

// where is the source directory located? (including trailing slash)
define('SOURCE_DIR', dirname(__FILE__) . '/include/');

// Use RECAPTCHA?
define('RECAPTCHA', TRUE);

// RE RECAPTCHA Public key
define('RE_PUB_KEY','6LfbQ70SAAAAADeeK4tV5rFanrdjKohTT1lCKXai');

// RE RECAPTCHA Private key
define('RE_PRI_KEY','6LfbQ70SAAAAAOfUp_W3R9MtKRtxvQnHoRxV4ipq');

$config['blacklist'] = array('bit.ly', 'tinyurl', 'is.gd', 'tr.im', 'ow.ly', 'cli.gs', 'twurl.ni', 'u.mavrev.com', 'tiny.cc', 'short.to',
 'goo.gl', 'budurl.com', 'snipr.com', '6url.com', 'snipurl.com', 'just.as', 'snurl.com', 'su.pr', 'kl.am', 'adjix.com', 'xrl.us',
 'notlong.com', 'short.ie', 'sn.im', 'idek.net', 'alturl.com', 'xr.com', 'twurl.cc', 'yep.it', 'redirx.com', 'to.ly', 'easyuri.com',
 'fon.gs', 'profile.to', 'dwarfurl.com','rubyurl.com', 'hurl.ws', 'fire.to', 'url.ie', 'spedr.com', 'burnurl.com', 'moourl.com',
 'ulzen.com', 'nn.nf', 'doiop.com', 'simurl.com', 'piurl.com', 'icanhaz.com', 's7y.us', 'tiny.pl', 'shrinkify.com', 'qlink.net');
?>
